import { ref } from 'vue'
import { ItemType } from "@/components/types/types"


const bill = ref<ItemType[]>([
  {
    label: '姓名',
    model: 'name',
    message: '请输入名称',
    required: true,
    placeholder: '请输入',
    type: 'input'
  },
  {
    label: '性别',
    model: 'sex',
    message: '请输入编码',
    required: true,
    placeholder: '请输入',
    type: 'select',
    selectData: [
      {
        label: '男',
        value: '0',
      },
      {
        label: '女',
        value: '1',
      }
    ]
  },
  {
    label: '医院',
    model: 'hospital',
    message: '请输入编码',
    required: true,
    placeholder: '请输入',
    type: 'select',
    selectData: []
  },
  {
    label: '科室',
    model: 'department',
    placeholder: '请输入',
    url: '/base/department/list',
    type: 'select'
  },
  {
    label: '职称',
    model: 'position',
    message: '请输入编码',
    required: true,
    placeholder: '请输入',
    value: 'label',
    type: 'select',
    selectData: []
  },
  {
    label: '职务',
    model: 'job',
    message: '请输入编码',
    required: false,
    placeholder: '请输入',
    type: 'select',
    selectData: []
  },
  {
    label: '状态',
    model: 'status',
    placeholder: '请选择',
    type: 'select',
    required: true,
    disabled: true,
    message: '请选择状态',
    selectData: []
  },
  {
    label: '擅长领域',
    model: 'specialField',
    placeholder: '请输入',
    type: 'textarea',
    span: 12
  },
  {
    label: '简介',
    model: 'returnNumber',
    placeholder: '请输入',
    type: 'textarea',
    span: 12
  },
])
interface Parmes {
  billingStatus?: number;
  accountTime?: any;
  setTime?: any
  [propName: string]: any;
}
const datas = ref<Parmes>({
})
export default { bill, datas }